/*
 * Copyright (c) 2024 Shenzhen Kaihong Digital Industry Development Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef SLE_CALLBACK_ADAPTER_H
#define SLE_CALLBACK_ADAPTER_H

#include "sle_adapter_hdi.h"
#include "sle_host_hdi.h"
#include "sle_announce_hdi.h"
#include "sle_seek_hdi.h"
#include "sle_connect_hdi.h"
#include "sle_ssap_server_hdi.h"
#include "sle_ssap_client_hdi.h"
#include "sle_hal_errcode.h"

SleHdiErrorCode InitCallbackAdapter(void);
SleHdiErrorCode RegisterHostCallbackAdapter(const SleHostHdiCallbacks *hostCbs);
SleHdiErrorCode RegisterAnnounceCallbackAdapter(const SleAnnounceHdiCallbacks *announceCbs);
SleHdiErrorCode RegisterSeekCallbackAdapter(const SleSeekHdiCallbacks *seekCbs);
SleHdiErrorCode RegisterConnectCallbackAdapter(const SleConnectHdiCallbacks *connectCbs);
SleHdiErrorCode RegisterSsapsCallbackAdapter(const SleSsapsHdiCallbacks *ssapsCbs);
SleHdiErrorCode RegisterSsapcCallbackAdapter(const SleSsapcHdiCallbacks *ssapcCbs);

#endif // SLE_CALLBACK_ADAPTER_H